//-----------------------------------------------------------------------------------
#ifndef _WORKER_H_
#define _WORKER_H_
//-----------------------------------------------------------------------------------
#include "AIStar.h"
#include "ZakEngine/Zak.h"
//-----------------------------------------------------------------------------------
#define MAP_COLS		30
#define MAP_ROWS		30
#define EMPTY_TILE		0
#define PLAYER_TILE		1
#define MINE_TILE		2
#define MAX_GOLD		20
//-----------------------------------------------------------------------------------
using namespace zak;
//-----------------------------------------------------------------------------------
class Player
{
public:

	Player();
	~Player();

	static bool WalkToMine();
	static bool ReturnFromMine();
	static bool Dump();
	static bool Mining();

	bool Start(int mapWidth, int mapHeight);

	static int m_iGold;

	static float m_fpX;
	static float m_fpY;

	static int m_iTownRow;
	static int m_iTownCol;
	static int m_iMineRow;
	static int m_iMineCol;

	static AIStar m_kAIStarMine;
	static AIStar m_kAIStarTown;

	static sPosition ** m_pkPathToMine;
	static sPosition ** m_pkPathToTown;
};
//-----------------------------------------------------------------------------------
#endif 
//-----------------------------------------------------------------------------------